#ifndef NODE_H_
#define NODE_H_



class CNode 
{
public :
	CNode(){ parent = NULL ; } ;
	~CNode(){ parent = NULL ; } ;

	POINT p ;               // position of the Node
	double CostFromStart ;	// outdistance since the starting point
	double CostToEnd    ;    // outdistance between point and the end
	double TotalCost     ;   // Total cost while passing by this point

	// pointer on the parent's Node
	CNode *parent;
};




#endif 